﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewsReader.Helpers.Orm
{
    //"select f.id, f.uri, f.title, f.category_id, c.name from user_feeds f inner join categories c on f.category_id = c.id";
    public class FeedConfiguration
    {
        [Column("id"), AutoIncrement, PrimaryKey]
        public int Id { get; set; }
        
        [Column("uri")]
        public string Uri { get; set; }

        [Column("title")]
        public string Title { get; set; }

        [Column("category_id")]
        public int CategoryId { get; set; }

        [Column("name")]
        public string CategoryName { get; set; }
    }
}
